package week06;

public class DelegateTest {
    public static void main(String[] args) {
        Element element  = new FlashProxy(new Flash());
        element.Draw();

        Element element1  = new GraphicProxy(new Graphic());
        element1.Draw();

        Element element2  = new MediaProxy(new Media());
        element2.Draw();

    }
}
